#!/bin/sh

export JAVA_HOME=%{JAVA_HOME}

JAVA_EXE=`which java`
INSTALLPATH=`dirname $0`


if [ "$JAVA_EXE" == "" ]
then
	echo "No java executable is found."
	exit 1
fi

cd $INSTALLPATH || exit 1
"$JAVA_EXE" -jar atoco.jar
